package com.hitqz.robot.api.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author xupkun
 * @date 2024/12/3
 */
@Schema(description = "任务记录")
@Data
public class HomeTicketsVo {

    @Schema(description = "任务名称")
    private String taskName;

    @Schema(description = "执行的机器人名称")
    private String robotName;

    @Schema(description = "状态值")
    private int status;
    @Schema(description = "状态字符串")
    private String statusStr;

    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

}
